package DCBots;

import robocode.AdvancedRobot;

public class DCRobot extends AdvancedRobot {
	
	public LogCollector logCollector;
	public PlanGroup planGroup;
	
	DCRobot() {
		logCollector = new LogCollector();
		planGroup = new PlanGroup();
	}	
	
	public void run() {
		while (true) {
			int selectedPlan = planSelector();
			planGroup.getPlan(selectedPlan).execute();
		}
	}
	
	public int planSelector() {
		int selectedPlanID = 0;
		// Add code for selecting plan 
		// Maybe just find the maximum score from LogCollector and then decide plan
		return selectedPlanID;
	}
	
	
}
